Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

allow custom gates to be overwritten #76

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Jun 1, 2019

Summary

This commit adds the ability to overwrite/redefine the a custom gate.

Details and comments

The motivation for this came from wanting to have multiple circuits in a
program and allow them to have the same name for a custom gate, but the
matrix for the gate would be different for each circuit.

This commit adds the ability to overwrite/redefine the a custom gate.
The motivation for this came from wanting to have multiple circuits in a
program and allow them to have the same name for a custom gate, but the
matrix for the gate would be different for each circuit.
@danbev danbev requested a review from jesusprubio June 1, 2019 13:15
@jesusprubio jesusprubio merged commit 44ea60a into qiskit-community:master Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants